import type { TreeKey} from "element-plus";
export interface IBanner {
  img: string;
  alt: string;
  link: string;
  bannerid?: string;
  flag?: boolean;
}

export interface IOper {
  _id?: string;
  adminname: string;
  password: string;
  role: number|string; //：角色（甲方的岗位）1：超级管理员，2：轮播图维护人员，3：商品维护等等
  adminid?: string;
  checkedKeys?: Array<TreeKey>;
}

export interface SearchPro {
  category?: string;
  search?: string;
}

export interface IGoods {
  proid: string;
  category: string;
  brand: string;
  proname: string;
  originprice: number;
  sales: number;
  stock: number;
  issale: number;
  isrecommend: number;
  discount: number;
  isseckill: number;
  img1: string;
}